package com.yfbao.horizion.dynamic.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import groovy.util.logging.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class TestJob {

    @XxlJob("sampleJobHandler")
    public void execute() {
        System.out.println("定时任务执行开始");
        // 这里编写定时任务的具体逻辑
        System.out.println("定时任务执行结束");
    }
}
